import Vue from 'vue'
import Router from 'vue-router'
import LoveRent from 'pages/home/LoveRent'
import HomeShow from 'pages/home/HomeShow'
Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path:'/',
      redirect:'/loverent/home'
    },
    {
      path:'/loverent',
      component:LoveRent,
      children:[{
        path:'home',
        component:HomeShow
      }]
    }
  ]
})
